using System.IO;
using UnityEditor;
using UnityEngine;
using System.IO;
using UnityEditor;
using UnityEngine;

public static partial class SerializeHelper
{
    public static string serverProtoOutputPath => protectPath + "/ProtoGen/Proto/Server";
    public static string serverDataScriptsDirectory =>Path.Combine(Application.dataPath , "0A2_Scripts/ServerData");
    
    [MenuItem("Data/生成ServerData序列化")]
    static void GenerateServerDataProtobuf3()
    {
        string preText = "";
        preText += "using Google.Protobuf;\n";
        preText += "using Google.Protobuf.Collections;\n";
        preText += "using Google.Protobuf.Reflection;\n";
        preText += "using System.Collections.Generic;\n";

        GenerateProtobuf(3, preText, "","ServerData",serverDataScriptsDirectory,serverProtoOutputPath,cSharpTempOutputPath);
    }

}